package cn.group7.padserver.common;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @author 谷汉斌
 * @description 执行结果
 * @createTime 2024/7/22 下午2:45
 */
@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum Flag {
    /**
     * code true 成功 false 失败
     * msg 描述
     */
    SUCCESS(true, "成功"),
    FAIL(false, "失败");
    private boolean code;
    private String msg;
}